package com.luckycoder.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloWorld {
    @RequestMapping("/")
    public String hello() {
        String hello = "Hello World";
        System.out.println(hello);
        return hello;
    }
}
